package com.ruoyi.tenant.mapper;

import com.ruoyi.tenant.domain.SysTenant;

import java.util.List;

public interface SysTenantMapper {

    /**
     * 查询租户数据
     *
     */
    public SysTenant selectTenantByTenantId(String TenantId);

    public int createdatabase(String databasename);

    public Long insertSysTenant(SysTenant sysTenant);

    public SysTenant selectSysTenantById(Integer id);

    public List<SysTenant> selectSysTenantList(SysTenant sysTenant);

    public int updateSysTenant(SysTenant sysTenant);

    public int deleteSysTenantById(Integer id);

    public int deleteSysTenantByIds(Integer[] ids);

    public Integer selectTenantStateByTenantId(String tenantId);
}
